﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="../imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="../imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/style.css"/>
	<title>管理后台</title>
	<style type="text/css">
	</style>
</head>
<body>
	<article class="cl pd-20">
		<div class="cl pd-5 bg-1 bk-gray">
			<span class="l">
				<input type="text" class="input-text" id="title" placeholder="输入标签" style="width: 50%;"/>
				<a href="javascript:;" onclick="tag_add();" class="btn btn-primary radius">
					添加
				</a>
			</span>
			<span class="r">共有数据：<strong id="pageTotal">0</strong> 条</span>
		</div>
		<div class="mt-10">
			<table class="table table-border table-bordered table-hover table-bg">
				<thead>
				<tr>
					<th scope="col" colspan="15">药品列表</th>
				</tr>
				<tr class="text-c">
					<th>ID</th>
					<th>标签名称</th>
					<th width="70">添加时间</th>
					<th>操作</th>
				</tr>
				</thead>
				<tbody>
				<tr class="text-c">
					<td>-</td>
					<td>-</td>
					<td>-</td>
					<td>-</td>
				</tr>
				</tbody>
			</table>
			<div id="pageHtml"></div>
		</div>
	</article>

	<!--自定义弹窗-->
	<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="../js/view.js"></script>
<script type="text/javascript" src="../js/drug.js"></script>
<script type="text/javascript">
	var pages = {
		start: 1, limit: pageSize, total: 0,
		url: '/admin/views/drug-tag.html'
	};
	pages.start = getParamByUrl('start');
	pages.start = pages.start ? pages.start : 1;
	var drug_id = getParamByUrl('drug_id');
	(function () {
		tagList();
	})();
</script>